package com.haizhi.crm.biz.task.message.model;

import com.haizhi.crm.biz.model.MessageClientDo;
import com.haizhi.crm.biz.model.MessageUserVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by wangshan on 2018/5/29.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContextDto {

    private Long msgId;

    private Long msgCategoryId;

    private String title;

    private String detailKey;

    private String msgType;

    private String eventType;

    private String databases;

    private String msgSchema;

    private Map<Long, MessageUserVo> messageUserVoMap = new HashMap<>();

    private List<MessageClientDo> messageClientDos = new ArrayList<>();


    public Long getMsgCategoryId() {
        return msgCategoryId;
    }

    public void setMsgCategoryId(Long msgCategoryId) {
        this.msgCategoryId = msgCategoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetailKey() {
        return detailKey;
    }

    public void setDetailKey(String detailKey) {
        this.detailKey = detailKey;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getDatabases() {
        return databases;
    }

    public void setDatabases(String databases) {
        this.databases = databases;
    }

    public String getMsgSchema() {
        return msgSchema;
    }

    public void setMsgSchema(String msgSchema) {
        this.msgSchema = msgSchema;
    }

    public List<MessageClientDo> getMessageClientDos() {
        return messageClientDos;
    }

    public void setMessageClientDos(List<MessageClientDo> messageClientDos) {
        this.messageClientDos = messageClientDos;
    }

    public Map<Long, MessageUserVo> getMessageUserVoMap() {
        return messageUserVoMap;
    }

    public void setMessageUserVoMap(Map<Long, MessageUserVo> messageUserVoMap) {
        this.messageUserVoMap = messageUserVoMap;
    }

    public Long getMsgId() {
        return msgId;
    }

    public void setMsgId(Long msgId) {
        this.msgId = msgId;
    }
}
